'use strict';

const Controller = require('egg').Controller;

class AuthorizationController extends Controller {
    async findCorpid() {
        const ctx = this.ctx;
        const corpid = ctx.params.corpid;
        const findCorpid = await ctx.service.authorization.wechat.findCorpid(corpid);
        ctx.body = findCorpid;
    }
}
module.exports = AuthorizationController;